var cc__decorate = __decorate;
Object.defineProperty(exports, "__esModule", {
  value: true
});
var $2WorldNodeMgr = require("WorldNodeMgr");
var cc__decorator = cc._decorator;
var ccp_ccclass = cc__decorator.ccclass;
var ccp_property = cc__decorator.property;
var ccp_menu = cc__decorator.menu;
var def_SetWorldPos = /* */function (_cc$Component24) {
  function _ctor() {
    var _this80;
    babel_classCallCheck(this, _ctor);
    _this80 = _callSuper(this, _ctor, arguments);
    _this80.targetName = $2WorldNodeMgr.WorldTargetName.UITopBarMoney;
    return _this80;
  }
  babel_inherits(_ctor, _cc$Component24);
  return babel_createClass(_ctor, [{
    key: "onLoad",
    value: function onLoad() {
      var _this81 = this;
      this.scheduleOnce(function () {
        var e = _this81.node.convertToWorldSpaceAR(cc.v3(0, 0, 0));
        $2WorldNodeMgr.default.Instance.setWorldTargetPos(_this81.targetName, e);
      }, .1);
    }
  }]);
}(cc.Component);
cc__decorate([ccp_property({
  type: cc.Enum($2WorldNodeMgr.WorldTargetName)
})], def_SetWorldPos.prototype, "targetName", undefined);
def_SetWorldPos = cc__decorate([ccp_ccclass, ccp_menu("v-lez/SetWorldPos")], def_SetWorldPos);
exports.default = def_SetWorldPos;